package com.gmail.hy87cn.hellohi.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Hellohi implements EntryPoint {
	private HiChatClient client;
	private HiChatUi ui;

	@Override
	public void onModuleLoad() {
		client = new HiChatClient();
		ui = new HiChatUi();

		client.setUi(ui);
		ui.setClient(client);

		RootPanel.get("chatDiv").add(ui);
		//RootPanel.get("connectDiv").add(new FacebookUi());
	}

}
